package com.tencent.wxcloudrun.frontcontroller;

import com.tencent.wxcloudrun.dto.ScoreLogsRequest;
import com.tencent.wxcloudrun.dto.ScoreLogsResponse;
import com.tencent.wxcloudrun.dto.UserLevelListResponse;
import io.swagger.annotations.Api;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;

/**
 * @author lichongbing
 * @version 1.0.0
 * @createdate 2023/3/4 18:51
 * @description: TODO
 */
@RestController
@Api(tags = "会员积分模块")
public class ScoreController {
    @Operation(summary = "获取所有会员等级信息")
    @GetMapping("/wxcloud/userLevelList")
    UserLevelListResponse userLevelList() {
        return null;
    }
    /**
     * 积分明细记录
     */
    @Operation(summary = "积分明细记录")
    @PostMapping("/wxcloud/scoreLogs")
    ScoreLogsResponse scoreLogs(HttpServletRequest request, @RequestBody ScoreLogsRequest json){
        return null;
    }

}
